//
//  ShareWithBackView.m
//  CarTown
//
//  Created by 熊浩 on 15/8/21.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "ShareWithBackView.h"

@implementation ShareWithBackView
+(instancetype)sharewithback{
    ShareWithBackView *shareb=[[[NSBundle mainBundle]loadNibNamed:NSStringFromClass([ShareWithBackView class]) owner:nil options:nil]lastObject];
    return shareb;
}
- (IBAction)buttonclick:(UIButton *)sender {
    if ([_delegate respondsToSelector:@selector(buttonclick:)]) {
        [_delegate buttonclick:sender.tag];
    }
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
